from bottle import route
from jinja2 import Environment, FileSystemLoader
import sys as sys

class home_controller:
  
  @route('/')
  def index():
    env = Environment(loader=FileSystemLoader(sys.path[0] + '/templates'))
    template = env.get_template('/home/home.html')
    return template.render()

  # ignore
  def hello():
      return "Hello";
  # ignore
    
  @route('/about')
  def about():
    return "This is where I praise myself a little. I had wanted to use this but its already been taken. '<i>I put the some in awesome, because not everything I do is awesome.</i>'"